home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / update24.arc / UPDATE.BAT < prev   
DOS Batch File  |  1986-05-09  |  542b  |  31 lines

  1. echo off
  2. cls
  3. if exist zq*.* del zq*.*
  4. if not exist up.exe goto u
  5. if t==%1 goto t
  6. if T==%1 goto t
  7. if n==%1 goto n
  8. if N==%1 goto n
  9. if not %1x==x goto p
  10. up
  11. if not exist paths.cnf goto e
  12. zq>nul
  13. :t
  14. copy update.bat zqz.bat>nul
  15. up
  16. zqw
  17. :n
  18. if not exist sort.exe goto s
  19. copy update.bat zqq.bat>nul
  20. up
  21. zqx>nul
  22. :p
  23. echo   Bad parameter (neither UPDATE N nor UPDATE T).  Now crashing ...
  24. goto e
  25. :s
  26. echo   No SORT.EXE exists in current directory.  Now crashing ...
  27. goto e
  28. :u
  29. echo   File UP.EXE missing! UpDate crashing ...
  30. :e
  31.